package com.hc.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 字典
 *
 * @author 梁云亮
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DictItemVO implements Serializable {
    private static final long serialVersionUID = 4489932304112311797L;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 值
     */
    @ApiModelProperty(value = "值")
    private Integer value;

    /**
     * 类型编号
     */
    @TableField(value = "type_id")
    @ApiModelProperty(value = "类型编号")
    private Integer typeId;
}
